Add GUI status window with logs viewer for macOS app shutdown#162
Add GUI status window with logs viewer for macOS app shutdown#162
Conversation
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>
|
@copilot research why console=True does not work on mac os. Maybe there is a way to get this to work. if that fails, keep the gui and add a button that shows the server logs |
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>
I researched the Why console=True doesn't work:
Solution implemented (commit a57cbcc): New features:
The logs window displays server output in real-time and can be refreshed as needed. This is more user-friendly than a console window since:
|
|
@copilot two of the new tests fail (only in the docker container build): this is likely due to a missing libtk dependency. Skip these tests if the import fails (which should only happen in the docker container or on other linux systems without tk) |
Co-authored-by: thawn <1308449+thawn@users.noreply.github.com>
Fixed in commit 89b068b. The issue was that Solution:
Both failing tests now pass:
The Docker build will no longer fail due to missing tkinter, while the GUI functionality remains available on macOS with PyInstaller where tkinter is bundled. |
_tkinter_availableflag to track tkinter availabilityshould_use_gui()to check tkinter availabilityOriginal prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.